package contacts530.po;

import java.io.Serializable;

/**
 * 通讯录
 * 
 * @author zhaoyana
 *
 */
public class Students implements Comparable<Object>, Serializable {
	private Room room;
	private String room_no;
	private String name;
	private int gander;
	private int  dbo;
	private int  phone;
 	private int  qq;
	private int  email;
	public Students(String name, String room_no, int gander, int dbo, int phone, int email, int qq) {
		super();	
		this.name =name ;
		this.room_no = room_no;
		this.gander=gander;
		this.dbo = dbo;
		this.phone=phone;
		this.qq=qq;
		this.email=email;
	}
	public Room getRoom() {
		return room;
	}
	public void setRoom(Room room) {
		this.room = room;
	}
	@Override
	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}
	public String getRoom_no() {
		return room_no;
	}
	public void setRoom_no(String room_no) {
		this.room_no = room_no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getGander() {
		return gander;
	}
	public void setGander(int gander) {
		this.gander = gander;
	}
	public int getDbo() {
		return dbo;
	}
	public void setDbo(int dbo) {
		this.dbo = dbo;
	}
	public int getPhone() {
		return phone;
	}
	public void setPhone(int phone) {
		this.phone = phone;
	}
	public int getQQ() {
		return qq;
	}
	public void setQq(int qq) {
		this.qq = qq;
	}
	public int getEmail() {
		return email;
	}
	public void setEmail(int email) {
		this.email = email;
	}
	/**
	 * @return
	 */
	
	}

